/*
 * Decompiled with CFR 0.150.
 * 
 * Could not load the following classes:
 *  com.alibaba.fastjson.JSON
 */
package com.gys.common.business;

import com.alibaba.fastjson.JSON;
import com.gys.common.data.HttpJson;
import com.gys.common.util.ConstUtil;
import com.gys.common.util.HttpClientUtil;
import com.gys.data.allot.GetAllotInData;
import com.gys.data.productSortSetting.GetProductInData;
import com.gys.data.replenish.StoreInData;

public class AllotUtil {
    public static HttpJson selectList(GetAllotInData param) {
        return HttpClientUtil.httpPostJson(ConstUtil.HTTP_URL + "/operation/allot/list", JSON.toJSONString(param));
    }

    public static HttpJson detail(GetAllotInData param) {
        return HttpClientUtil.httpPostJson(ConstUtil.HTTP_URL + "/operation/allot/detail", JSON.toJSONString(param));
    }

    public static HttpJson queryDetail(GetAllotInData param) {
        return HttpClientUtil.httpPostJson(ConstUtil.HTTP_URL + "/operation/allot/detailList", JSON.toJSONString(param));
    }

    public static HttpJson insert(GetAllotInData param) {
        return HttpClientUtil.httpPostJson(ConstUtil.HTTP_URL + "/operation/allot/insert", JSON.toJSONString(param));
    }

    public static HttpJson update(GetAllotInData param) {
        return HttpClientUtil.httpPostJson(ConstUtil.HTTP_URL + "/operation/allot/update", JSON.toJSONString(param));
    }

    public static HttpJson approve(GetAllotInData param) {
        return HttpClientUtil.httpPostJson(ConstUtil.HTTP_URL + "/operation/allot/approve", JSON.toJSONString(param));
    }

    public static HttpJson queryPro(GetProductInData param) {
        return HttpClientUtil.httpPostJson(ConstUtil.HTTP_URL + "/operation/allot/queryPro", JSON.toJSONString(param));
    }

    public static HttpJson exportIn(GetAllotInData param) {
        return HttpClientUtil.httpPostJson(ConstUtil.HTTP_URL + "/operation/allot/exportIn", JSON.toJSONString(param));
    }

    public static HttpJson getStoreList(StoreInData param) {
        return HttpClientUtil.httpPostJson(ConstUtil.HTTP_URL + "/auth/store/getStoreList", JSON.toJSONString(param));
    }
}

